package com.lsj.dto.sys;

import com.lsj.core.validate.Add;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * @Author:lin.sj
 * @Data:2021/7/8 21:49
 * @Desc: 菜单新增dto
 */
@Data
@Accessors(chain = true)
public class MenuAddDto {

    /**
     * 父菜单ID
     */
    @NotNull(message = "菜单父主键不能为空",groups = {Add.class})
    private Long menuPid;


}
